﻿using B.S.DataBase.MyProject.Domain;
using B.S.DataBase.MyProject.ErrorCode;
using B.S.DataBase.MyRead.API.DTOs;
using MediatR;

namespace B.S.DataBase.MyRead.API.Appicant.Command.QingJia
{
    public class QingJiaQueryCommand:IRequest<APIPanging<QingJiaDto>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 请假开始时间
        /// </summary>
        public DateTime? BeginTime { get; set; }
        /// <summary>
        /// 请假结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public Status? Status { get; set; }


        /// <summary>
        /// 姓名
        /// </summary>
        public string? UserName { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        public int? DepId { get; set; }

        /// <summary>
        /// 暂时角色编号
        /// </summary>
        public int HaoId { get; set; }


    }
}
